.ip-box {
    .ip {
        margin: 0px 12px;
        .ip-header {
            height: 36px;
            text-align: left;
            .radio{
                // float: left;
               
                .el-radio-button__inner{
                    padding: 7px 20px;
                    font-size: 18px;
                    height: 36px;
                    border-left: 0px solid #DCDFE6;
                    border-radius:0;
                    border:0;
                    line-height: 23px;
                    
                    }
                .el-radio-button{
                    
                    .el-radio-button__inner{
                        width: 180px;
                        color: #217AD9;
                        background-color: #E6EBF0 !important;
                    }
                }
                .is-active{
                    .el-radio-button__inner{
                        color: #fff;
                        background-color: #217AD9 !important;
                    }
                }
            }
            .input {

                line-height: 34px;
                width: 250px;

                .search {
                    cursor: pointer;
                    margin-right: 0px
                }
            }

            .sel-role {
                line-height: 34px;
                width: 150px;
                margin-left: 16px;
            }

            .sel-institutions {
                width: 115px;
                margin-left: 16px;
            }
        }
        .ip-body {
            background-color: #fff;
            position: absolute;
            width: calc(100% - 24px);
            height: calc(100% - 76px);
            .ip-manage {
                width: 100%;
                height: calc(100% - 128px);
                .table-head{
                    width: 100%;
                    height: 42px;
                    border-bottom:2px #e6ebf0 solid;
                    text-align: right;
                    .input {
                        width: 250px;
                        margin-left: 16px;
                        margin-top: 3px;
                        .search {
                            cursor: pointer;
                            margin-right: 0px
                        }
                    }
                    .go{
                        margin-top: 3px;
                        margin-right: 36px;
                    }
                    .sel-role {
                        margin-top: 3px;
                        width: 150px;
                        margin-left: 16px;
                    }
                    .sel-institution {
                        margin-top: 3px;
                        width: 250px;
                        margin-left: 16px;
                    }
                    .product{
                        width: 165px;
                        margin-right: 16px;
                    }
                    .version{
                        margin-top: 3px;
                        width: 165px;
                    }
                    .sel-version {
                        width: 180px;
                        margin-left: 16px;
                    }
                }
                .el-table {
                    width: calc(100% - 48px);
                    height:100% !important;
                    margin: 0px 24px;
                    .has-gutter {
                        color: #4E5766;
                    }
                    .el-button{
                        padding:0;
                        height: initial;
                        line-height: initial;
                    }
                    .data,
                    .badge {
                        display: table-cell;
                        vertical-align: top;
                    }
                    .iptext{
                        width: 140px;
                        display: inline-block;
                    }
                    .telnet{
                        margin-left: 10px;
                        color: #217AD9;
                        cursor: pointer;
                        vertical-align: top;
                    }
                    .badge {
                        padding-left: 10px;
                    }
                    .el-table__row>.cell-td-td>.cell{
                        // position: absolute;
                        // top:12px;
                        // display: inline-block;
                    }
                    .cell-td{
                        position: absolute;
                        top:10px;
                        display: inline-block;
                    }
                    .el-badge__content.is-fixed.is-dot {
                        top: 3px;
                    }
                    .el-badge__content--warning {
                        background-color: #FF9D00;
                    }

                    .el-input__inner {
                        background-color: #fff;
                        width: 150px;
                    }

                }
            }
            .exchange-info {
                width: 100%;
                height: calc(100% - 86px);
                overflow: auto;
                .table-head{
                    width: 100%;
                    height: 42px;
                    border-bottom:1px #e6ebf0 solid;
                    .route-add{
                        color: #217AD9;
                        height: 42px;
                        vertical-align: middle;
                        font-size: 14px;
                        margin-left: 20px;
                        img{
                            margin-right: 2px;
                            vertical-align: -7px
                        }
                    }
                    .route-add:hover{
                        opacity: 0.85;
                    }
                    .fold{
                        line-height: 42px;
                        float: right;
                        margin-right: 36px;

                    }
                }
                .collapse{
                    .el-tooltip{
                        width: 200px;
                        overflow: hidden;
                        text-overflow: ellipsis;
                        word-break: break-all;
                        white-space: nowrap;
                        margin-right: 15px;
                    }
                    .el-collapse-item__header:hover{
                        background-color: rgb(74, 162, 255, 0.1);
                    }
                    .el-collapse-item__header{
                        padding: 0 24px;
                        .collapse-title-name{
                            font-weight: bold;
                            width: 130px;
                            color: #4E5766;
                            font-size: 14px;
                            margin-right: 75px;
                        }
                        .collapse-title-vip{
                            color: #848C99;
                            font-size: 14px;
                            width: 350px;
                            margin-right: 30px;
                        }
                        .collapse-title-time{
                            color: #848C99;
                            font-size: 14px;
                            width: calc(100% - 500px);
                        }
                        .el-collapse-item__arrow{
                            height: 36px;
                            line-height: 42px;
                        }
                    }
                    .el-table::before{
                        display: none
                    }
                    .el-table--enable-row-hover .el-table__body tr:hover>td {
                        // background-color: #fff; //鼠标悬停每一行变色
                        background-color: rgb(74, 162, 255, 0.1);
                    }
                    .el-table {
                        width: calc(100% - 72px);
                        height:100%;
                        margin: 0px 36px;
                        border-radius: 4px;
                        .tableHead:nth-of-type(1){
                            th{
                                background: linear-gradient(180deg, #FFFFFF 0%, #F5F7FA 100%);
                            }
                        }
                        .el-table__empty-block,
                        th,td{
                            background-color: #FAFBFC;
                            padding: 8px 0;
                        }
                        .has-gutter {
                            color: #4E5766;
                        }
                        .el-button{
                            padding:0;
                            height: initial;
                            line-height: initial;
                            span{
                                display: block;
                                height: 14px;
                                line-height: 14px;
                                img{
                                    display: block;
                                }
                            }
                        }
                        .data,
                        .badge {
                            display: table-cell;
                            vertical-align: top;
                        }
                        .iptext{
                            width: 140px;
                            display: inline-block;
                        }
                        .telnet{
                            margin-left: 10px;
                            color: #217AD9;
                            cursor: pointer;
                            vertical-align: top;
                        }
                        .badge {
                            padding-left: 10px;
                        }
                        .el-table__row>.cell-td-td>.cell{
                            position: absolute;
                            top:12px;
                            display: inline-block;
                        }
                        .cell-td{
                            position: absolute;
                            top:10px;
                            display: inline-block;
                        }
                        .el-badge__content.is-fixed.is-dot {
                            top: 3px;
                        }
                        .el-badge__content--warning {
                            background-color: #FF9D00;
                        }
    
                        .el-input__inner {
                            background-color: #fff;
                            width: 150px;
                        }
    
                    }
                    .collapse-pagination{
                        width: calc(100% - 72px);
                        text-align: right;
                        margin:0 36px;
                        padding: 5px 0;
                        background-color: #FAFBFC;
                    }
                }
                .no-data{
                    line-height: 100px;
                    text-align: center;
                    color: #909399;
                    font-size: 14px;
                }
                
            } 
        }
    }
    .access-edit-dialog{
        .el-dialog__body{
            padding:0 24px 24px;
        }
       
        .el-dialog__header {
            // display: none;
        } 
        .dialog-title {
            font-size: 20px;
            color: #505765;
            margin-bottom: 36px;
            font-weight: bold;
        }
        .dialog-body{
            .el-form-item{
                margin-bottom:15px;
            }
            .el-button{
                padding:0;
                height: initial;
                line-height: initial;
            }
            .has-gutter {
                color: #4E5766;
            }
            .edit-form{
                
                .edit-text{
                    display: flex;
                    height: 36px;
                    line-height: 36px;
                    font-size: 14px;
                    color: #4E5766;
                    span{
                        flex: 1;
                    }
                    .el-button{
                        flex-shrink: 0;
                        margin:0 10px;
                        i{
                            font-size: 18px;
                        }
                    }
                    .go{
                        width: 37px;
                        height: 24px;
                        margin: 6px 0 6px 10px;
                        font-size: 12px;
                        border-radius: 2px;
                    }
                    .search-input{
                        width: 200px;
                        margin-left: 10px;
                        border: 1px solid #E6EBF0;
                        border-radius: 2px;
                        height: 24px;
                        margin-top: 5px;
                        line-height: 24px;
                        padding: 0 5px;
                        i{
                            font-size: 16px;
                            color: #848C99;
                            font-weight: bold;
                            cursor: pointer;
                        }
                        input{
                            background: transparent;
                            outline: none;
                            border: 0;
                            height: 100%;
                            margin-left: 5px;
                        }
                    }
                    
                }
                .el-icon-star-on:before{
                    content: '*';
                    color: #FF9D00;
                    top: -14px;
                    position: absolute;
                    left: -10px;
                }
                .el-input__inner{
                    color: #848C99;
                    border: 0px;
                    width: 100% !important;
                    border-bottom: 1px solid #e6e6e6;
                    background: #fff;
                }
                .is-error .el-input__inner{
                    border-color:#FF9D00 !important;
                }
                .el-form-item__error{
                    top:95%;
                    color: #FF9D00;
                    font-size: 14px;
                }
            }
            .edit-table{
                margin-top: 24px;
                .el-table{
                    width: initial !important;
                    margin:0 !important;
                    border-radius: 4px;
                    .caret-wrapper {
                        position: absolute;
                        top: 3px;
                        height: 20px;
                        .sort-caret.ascending {
                            top: -3px;
                        }
                        .sort-caret.descending {
                            bottom: 0px;
                        }
                    }
                    thead{
                        tr:nth-of-type(1){
                            th{
                                background: linear-gradient(180deg, #FFFFFF 0%, #F5F7FA 100%);
                            }
                        }
                    }
                    th,td{
                        padding: 3px 0;
                        height: 41px;
                        background-color: #fff;
                    }
                    td{
                        border-bottom: 1px solid #e9e9e9;
                    }
                }
                .el-table::before{
                    background-color: #fff;
                }
                .el-table__body-wrapper{
                    padding-bottom: 1px;
                    .el-table__empty-block{
                        border-bottom: 1px solid #e9e9e9;
                    }
                }
                
            }
            .el-form-item__label:before{
                display: none;
                color: #fff;
            }
            .el-icon-star-on{
                position: relative;
            }
            .el-icon-star-on:before{
                content: '*';
                color: #FF9D00;
                top: -8px;
                position: absolute;
            }
            .star-not-active:before{
                color: #B8BFCC;
            }
            .el-form-item__label{
                font-size: 16px;
                color: #848c99;
                padding-left: 15px;
            }
        }
        .dialog-footer{
            margin-top: 30px;
            text-align: center;
            .ok-btn {
                width: 130px;
                height: 24px;
                line-height: 24px;
                border-radius: 2px;
                font-size: 16px !important;
            }
        }
        
    }
    .ip-sure-dialog {

        //弹框居中
        .el-dialog {
            // height: 284px; //弹框宽度
            display: flex;
            flex-direction: column;
            margin: 0 !important;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            max-height: calc(100% - 30px);
            max-width: calc(100% - 30px);
        }

        .el-dialog__body {
            padding: 10px 24px 24px;
        }

        .el-dialog__header {
            // display: none;
        }

        text-align: center;

        .line-text-one {
            font-size: 16px;
            color: #4E5766;
            margin-bottom: 12px;
            word-break: normal;
        }

        .line-text-two {
            font-size: 16px;
            color: #848C99;
            margin-top: 36px;
            margin-bottom: 36px
        }

        .entrances {
            padding: 10px 0;
            max-height: 115px;
            background-color: #F5F8FA;
            overflow: auto;
            font-size: 16px;
            text-align: center;

            .rigth-box {
                display: inline-block;
                width: 46%;
                text-align: left;
                .from {
                    margin-right: 25px;
                    display: inline-block;
                    vertical-align: top;
                    color: #848C99;
                }

                .text {
                    line-height: 30px;
                    display: inline-block;
                    color: #4E5766;
                    vertical-align: top;
                    span {
                        display: block;
                        line-height: 24px;
                    }
                }
            }
        }

        .ok-btn {
            width: 100px;
            font-size: 16px;
        }

    }
    .show-site-dialog{
        //弹框居中
        .el-dialog {

            display: flex;
            flex-direction: column;
            margin: 0 !important;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            max-height: calc(100% - 30px);
            max-width: calc(100% - 30px);
        }

        .el-dialog__body {
            padding: 0 20px 42px 20px;
        }
        .el-dialog__header {
            padding :24px;
        }
        .site-net-title{
            color: #217AD9;
            font-weight: bold;
            font-size: 24px;
            margin: 0 24px;
            margin-top: -35px;
            height: 50px;
        }
        .site-net-table{
            .el-table{
                width:calc(100% - 48px) !important;
                margin: 0 24px !important;
                .caret-wrapper {
                    position: absolute;
                    top: 3px;
                    height: 20px;
                    .sort-caret.ascending {
                        top: -3px;
                    }
                    .sort-caret.descending {
                        bottom: 0px;
                    }
                }
                th, td{
                        background-color: inherit  !important
                    }
           
            }
        }
    }
    .add-site-dialog{
         //弹框居中
         .el-dialog {
            display: flex;
            flex-direction: column;
            margin: 0 !important;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            max-height: calc(100% - 30px);
            max-width: calc(100% - 30px);
        }

        .el-dialog__body {
            padding: 24px 20px 36px 20px;
        }
        .el-dialog__header {
            // display: none;
        }
        .el-button{
            padding: 0;
            height: 36px;
            line-height: 36px;
        }
        .site-net-title{
            width: 196px;
            height: 21px;
            margin-bottom: 37px;
            font-size: 16px;
            font-family: OPPOSans;
            font-weight: bold;
            line-height: 20px;
            color: #505765;
        }
        .edit-form{
            margin:0 24px;
            .el-input__inner{
                border: 0px;
                border-bottom: 1px solid #e6e6e6;
                background: #fff;
            }
            .is-error .el-input__inner{
                border-color:#FF9D00 !important;
            }
            .el-form-item__error{
                top:95%;
                color: #FF9D00;
                font-size: 14px;
            }
        }
        .el-form-item{
            margin-bottom:14px;
            font-size: 14px;
            color: #848C99;
            
            .el-icon-star-on{
                position: relative;
            }
            .el-icon-star-on:before{
                content: '*';
                color: #FF9D00;
                top: -15px;
                left: -10px;
                position: absolute;
            }
            .star-not-active:before{
                color: #B8BFCC;
            }
            .el-form-item__label{
                font-size: 16px;
                color: #848c99;
            }
            .el-input__inner{
                padding: 0 0;
            }
            .el-form-item__content{
                .plus {
                    color: #217AD9;
                    font-weight: bold;
                }
            }
        }
        .inline{
            margin-bottom: 15px;
            .el-form-item__label{
                padding-bottom: 3px;
                margin-right: 10px;
            } 
            .el-form-item__content{
                display: inline-block;
                width: 77%;
                .edit-text{
                    height: 24px;
                    line-height: 24px;
                    color: #2D3642;
                    font-weight: bold;
                }
                .el-switch{
                    .el-switch__core {
                        width: 30px !important;
                        height: 16px;
                        line-height: 16px;
                        &::after{
                            width: 12px;
                            height: 12px;
                            margin-left: 0;
                        }
                    }
                    padding-bottom: 3px;
                }
                .el-switch.is-checked{
                    .el-switch__core {
                        &::after{
                            margin-left: -13px;
                        }
                    }
                }
            }
        }
        .el-form-item__label:before{
            display: none;
            color: #fff;
        }
        
        .dialog-footer{
            margin-top: 30px;
            text-align: center;
            .ok-btn {
                width: 130px;
                height: 24px;
                line-height: 22px;
                border-radius: 2px;
            }
        }
    }
    .access-delete-dialog {
        .el-dialog__body{
            padding: 24px;
        }


        .el-dialog__header {
            // display: none;
        }

        text-align: center;

        .line-text-one {
            font-size: 18px;
            color: #4E5766;
            margin-bottom: 48px
        }
       
        // .ok-btn {
        //     width: 180px;
        //     font-size: 18px;
        // }

    }

}
.sure-exchange-dialog{
    .el-dialog__body{
        padding: 40px;
    }

    .el-dialog__header {
        // display: none;
        padding :0
    }

    text-align: center;
    .line-text-one{
        font-size: 18px;
        color: #4E5766;
    }
    .line-text-two {
        font-size: 16px;
        color: #848C99;
        margin-top: 12px;

    }
    .dialog-footer{
        margin-top: 30px;
        text-align: center;
    }
}

.ip-edit-dialog{
    .el-dialog__headerbtn {
        top: 10px;
        right: 15px;
        font-size: 24px;
    }
    .el-dialog__body {
        padding: 0 24px 20px; 
        font-family: OPPOSans;
        font-size: 14px;
        word-break: break-all;

        .dialog-title{
            font-size: 18px;
            font-weight: bold;
            line-height: 20px;
            color: #505765;
        }
        .dialog-body{
            margin-top: 20px;
            padding:0 10px;
           
            .inline{
                margin-bottom: 15px;
                .el-form-item__label{
                    padding-bottom: 3px;
                    margin-right: 20px;
                } 
                .el-form-item__content{
                    display: inline-block;
                    .edit-text{
                        height: 24px;
                        line-height: 24px;
                        color: #2D3642;
                        font-weight: bold;
                    }
                    .el-switch{
                        .el-switch__core {
                            width: 30px !important;
                            height: 16px;
                            line-height: 16px;
                            &::after{
                                width: 12px;
                                height: 12px;
                            }
                        }
                        padding-bottom: 3px;
                    }
                    .el-switch.is-checked{
                        .el-switch__core {
                            &::after{
                                margin-left: -13px;
                            }
                        }
                    }
                }
            }
            .el-form-item__label {
                font-weight: 500;
                color: #848C99;
                padding-bottom: 0;
            }
            .el-form-item__content{
                line-height: 24px;
                .plus {
                    color: #217AD9;
                    font-weight: bold;
                }
                .el-input__inner {
                    border: 0;
                    border-bottom: 1px solid #e6e6e6;
                    border-radius: 0;
                    padding-left: 0;
                    height: 24px;
                    line-height: 24px;
                    color: #2D3642;
                    padding-bottom: 10px;
                    font-weight: bold;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }
                .el-select{
                    width: 100%;
                }
            }
        }
        .dialog-footer{
            display: flex;
            text-align: center;
            justify-content: center;
            margin-top: 36px;
            .ok-btn{
                width: 130px;
                height: 24px;
                line-height: 22px;
                border-radius: 2px;
            }
        }
    }
}
.sure-dialog{
    .el-dialog__headerbtn {
        top: 10px;
        right: 15px;
        font-size: 24px;
    }
    .el-dialog__body {
        padding: 15px 24px 20px; 
        font-family: OPPOSans;
        font-size: 14px;
        word-break: break-all;

        .dialog-title{
            font-size: 16px;
            font-weight: bold;
            line-height: 20px;
            color: #505765;
            text-align: center;
        }
    }
    .dialog-footer{
        display: flex;
        text-align: center;
        justify-content: center;
        margin-top: 36px;
        .ok-btn{
            width: 130px;
            height: 24px;
            line-height: 22px;
            border-radius: 2px;
        }
    }
}